<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>正在向老师咨询</title>
    <link rel="stylesheet" type="text/css" href="page/chat/chat.css">
    <script type="text/javascript" src="page/chat/chat.js" ></script>
    <script src="https://res.wx.qq.com/open/js/jweixin-1.0.0.js" ></script>

</head>
<body>
<form id="chat-mainform">
<div class="chat" id="mqtt-msg-chat"  >
    <div  onclick="queryolddata()">历史记录</div>

    <div class="Cchat-group"  data-for="chats">

        <div class="chat-group" data-if="'{{memberId}}'" style="display: none">
            <div class="chat-group-time">
                <label>{{stime||''}} </label>
            </div>
            <div class="chat-group-self">

                <div class="chat-group-self-left">
                    <div class="chat-group-self-left-label">
<!--                        <label data-item="content"></label>-->
                        <label> {{content&&content.txt}} </label>
                    </div>
                </div>
                <div class="chat-group-self-right"  >
                    <img data-item="image" src="img/icons/menu5@1.png">
                </div>
            </div>
        </div>


         <div class="chat-group" data-if="'{{fromId}}'" style="display: none">
                    <div class="chat-group-time">
                             <label>{{stime||''}} </label>
                       </div>
                   <div class="chat-group-other">
                          <div class="chat-group-other-left">
                                  <img   src="{{image||'img/icons/menu5@1.png'}}">
                             </div>
                         <div class="chat-group-other-right">
                               <div class="chat-group-other-right-label">
                                        <label> {{content&&content.txt||""}} </label>
                                    </div>
                            </div>
                      </div>
          </div>

    </div>

</div>

<!--系统主菜单-->

    <div class="menu_bar2" id="mn">
        <div class="menu_bar2_one"   >
            <input type="button"  touchend="touchend"  touchstart="touchstart"  touchmove="handleTouchMove(this)" value="语音" />
            <img src="img/icons/chat-voice.png" alt="语音" />
        </div>
        <div class="menu_bar2_two">
            <input type="text" placeholder="输入新消息" name="chattext" id="chattext" onkeydown="chat2(event)">
        </div>
        <div class="menu_bar2_three">
            <img src="img/icons/chat-send.png" alt="发送" onclick="chat()" />
        </div>
<!--        <div class="menu_bar2_four">-->
<!--            <img src="img/icons/chat-face.png" alt="表情" />-->
<!--        </div>-->
        <div class="menu_bar2_five">
            <img src="img/icons/chat-file.png" alt="图片" />
        </div>
    </div>
</form>
</body>
</html>